<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-duties-inquiry-statistic" data-options="border:false;width:100%">
  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
		<p>
			<span class="badge">提示</span>
			在此你可以对<span class="label-info"><strong>职能事项质询统计信息</strong></span>进行查询!
		</p>
	</div>
		
    <div class="tb-list" style="padding:2px 0">
		<table cellpadding="0" cellspacing="0"> 
			<tr>
				<td style="padding-left:2px" class="list-btn">
			
				</td>
			</tr>
		</table>
	</div>
	<table class="easyui-datagrid dg-list"  
		data-options="rownumbers:true,
		animate: true,							
		striped:true,
		border:true,
		//singleSelect:false,
		idField: 'id',					
		fitColumns: true,
		checkOnSelect:true,
		selectOnCheck:true,
		width : 'auto',
		pagination : true">
		
		<thead>						
			<tr>				
				<th field="litigant_deptname" width="60" align="center">责任部门</th>
				<th field="inquiry_count" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">质询次数</th>
				<th field="over_day" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">超时质询</th>
				<th field="nodelost" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">环节缺失</th>
				<th field="flowlost" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">流程缺失</th>				
				<th field="reasonable" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">认定合理</th>				
				<th field="unreasonable" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">认定不合理</th>								
			</tr>            
		</thead>
		
	</table>
	  
  

 
<script>

requirejs(['listPageModule','dutiesInquiryStatistic','domReady!'],function(dept,dutiesStatistic,doc){
	dept.init({doc:doc,
		rootId:'panel-duties-inquiry-statistic',				
		subSystemCode:'duties',
		cellClick:dutiesStatistic.clickCell,
		rowClick:dutiesStatistic.clickRow,
		moduleCode:'dutiesInquiryStatistic'
	});
});	

</script>

